#ifndef vme_sis_h
#define vme_sis_h

#include <sys/types.h>
#include "IOError.h"


void show_SIS3100_status(int handle) throw(IOError);

void readA16D16(int handle, u_int16_t addr, u_int16_t *dest) throw(IOError);
void readA32D16(int handle, u_int32_t addr, u_int16_t *dest) throw(IOError);
void readA32D32(int handle, u_int32_t addr, u_int32_t *dest) throw(IOError);
void readA16D32DMA(int handle, u_int32_t addr, u_int32_t *buf, u_int32_t count) throw(IOError);
void readA32D32DMA(int handle, u_int32_t addr, u_int32_t *buf, u_int32_t count) throw(IOError);

void writeA32D16(int handle, u_int32_t addr, u_int16_t d) throw(IOError);

#endif
